import { WmChannelItem, WmChannelParams } from '@/typings/wmNews'
import request from '@/utils/http'

export class wmNewsApi {
  /**
   * 频道列表
   * @param params
   * @returns
   */
  static async getChannelList(params: WmChannelParams) {
    return request.request<WmChannelItem[]>({
      url: '/wemedia/channel/list',
      method: 'get',
      params
    })
  }
}
